package cn.wangliang181230.boot.web.environmentpostprocessor;

//@ConfigurationProperties("my.config-center")
public class MyConfigCenterProperties {

	/**
	 * 是否启用配置中心功能
	 */
	private boolean enabled = false;

	/**
	 * 配置中心根地址
	 */
	private String rootUrl = "http://localhost:8081";

	/**
	 * 配置数据的ID
	 */
	private String dataId;


	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public String getRootUrl() {
		return rootUrl;
	}

	public void setRootUrl(String rootUrl) {
		this.rootUrl = rootUrl;
	}

	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}
}
